/*burger*/

.navigation__burger {
    z-index: var(--z-menu);
    cursor: pointer;

    position: absolute;
    top: 2rem;
    right: 2rem;
}

    .navigation__burger div {
        background-color: black;
        border-radius: 3px;
        height: 5px;
        width: 30px;
        margin: 5px auto;
    }


/*navigation*/

    .navigation{
        display: none;
    }

    .navigation--active {
        z-index: var(--z-menu);

        list-style: none;
        height: 100vh;
        width: 100vw;
        position: fixed;
        
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        background-color: var(--orange);
    }

        .navigation__item {
            margin: 1.1rem auto;
        }

        .navigation__link {
            color: var(--white);
            text-transform: uppercase;
            font-size: var(--medium);
            text-decoration: none;
        }

            .navigation__linka:visited {
                color: var(--white);
            }

            .navigation__link:hover {
                color: var(--black);
            }

            .navigation__link:active {
                color: var(--black);
            }



/*animation*/

#burger-line-1,
#burger-line-2,
#burger-line-3 {
    transform-box: fill-box;
	transform-origin: center;
}

.burger-animation #burger-line-1{
    animation: down-rotate 0.6s ease-out both;
}

.burger-animation #burger-line-3{
    animation: up-rotate 0.6s ease-out both;
}

.burger-animation #burger-line-2{
    animation: hide 0.6s ease-out forwards;
}



@keyframes up-rotate {
    0% {
        animation-timing-function: cubic-bezier(0.16, -0,88, 0.97, 0.53);
        transform: translateY(0px);
    }

    30% {
        transform-origin: center;
        animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    100% {
        transform-origin: center;
        transform: translateY(-10px) rotate(45deg) scale(0.9);
    }
}

@keyframes down-rotate{
	0% {
		animation-timing-function: cubic-bezier(0.16, -0.88, 0.97, 0.53);
		transform: translateY(0px);
	}
	30% {
		transform-origin: center;
		animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
		transform: translateY(10px);
	}
	100% {
		transform-origin: center;
		transform: translateY(10px) rotate(-45deg) scale(0.9);
	}
}

@keyframes hide {
    29% {
		opacity: 1;
	}
	30% {
		opacity: 0;
	}
	100% {
		opacity: 0;
    }
}




/*social*/

.social-container{
    position: absolute;
    top: 14vh;
    left: 0;
    padding: 10px 10px 10px 20px;
    border-radius: 0px;
    background: rgba(0, 0, 0, 0.574);
    display: flex;
    z-index: 10;
    flex-direction: column;
    gap: 20px;
    transform: translate(0%, -50%);
    fill: var(--white);
}

.social-container a{
    width: 2rem;
}

    .social-container a::before {
        content: attr(data-social);
        position: absolute;
        background-color:var(--accent-color);
        color: var(--white);
        text-decoration: none;
        white-space: nowrap;
        padding: 0.5em 1em;
        border-radius: 100px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
        transform: translateX(30px) rotate(25deg);
        transition: 200ms cubic-bezier(.42,0,.44,1.68);
        opacity: 0;
}

    .social-container a:hover {
        /*background-color: var(--accent-color);*/
        fill: var(--orange);

    }

.social-container a::after {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid var(--accent-color);
    transform: translateX(0) rotate(25deg);
    transition: 200ms cubic-bezier(.42,0,.44,1.68);
    opacity: 0;
}

.social-container a:hover::before{
    transform: translateX(60px) translateY(5px) rotate(0);
    opacity: 1;
}

.social-container a:hover::after{
    transform: translateX(5px) translateY(20px) rotate(0);
    opacity: 1;
}


